ABC266 C - Convex Quadrilateral
提出
code: python
# 角度 -> 傾き
ab = 0
bc = 0
cd = 0
da = 0
print(ab, bc, cd, da)
解答
code: python
ax, ay = map(int, input().split())
bx, by = map(int, input().split())
cx, cy = map(int, input().split())
dx, dy = map(int, input().split())
def area(a, b, c):
return ab0 * ac1 - ab1 * ac0 # 各三角形の符号付き面積を求める
if (sign1 < 0) == (sign2 < 0) == (sign3 < 0) == (sign4 < 0):
print("Yes")
else:
print("No")
メモ